package com.imooc.service;

import com.imooc.dto.OrderDTO;

/**
 * 买家
 * Created by 廖师兄
 * 2017-06-22 00:11
 *
 * @author alan
 */
public interface BuyerService {

    /**
     * 查询一个订单
     *
     * @param openid  微信唯一标识
     * @param orderId 订单ID
     * @return 订单对象
     */
    OrderDTO findOrderOne(String openid, String orderId);

    /**
     * 取消订单
     *
     * @param openid  微信唯一标识
     * @param orderId 订单ID
     * @return 订单对象
     */
    OrderDTO cancelOrder(String openid, String orderId);
}
